<h1>Thành viên</h1>
<div class="place-admin-table">
	<table class="admin-table">
		<thead>
			<tr>
				<td>ID</td>
				<td>Email</td>
				<td>Display</td>
				<td>Approved</td>
				<td>Verified</td>
				<td>Login IP</td>
				<td>Created IP</td>
				<td>Created</td>
				<td>Options</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($items as $item): ?>
			<tr>
				<td><?php echo $item['_id']?></td>
				<td><?php echo $item['email']?></td>
				<td><?php echo $item['displayname']?></td>
				<td><?php echo $item['is_approved']?></td>
				<td><?php echo $item['is_verified']?></td>
				<td><?php echo $item['login_ip']?></td>
				<td><?php echo $item['created_ip']?></td>
				<td><?php echo format_date($item['created_at'])?></td>
				<td><a href="<?php echo Agilet::getUrl('admin/user/edit?_id=' . $item['_id']); ?>">Edit</a> | 
				<a href="<?php echo Agilet::getUrl('admin/user/password?_id=' . $item['_id']); ?>">Reset Password</a></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>